package com.ws.service;

import com.ws.common.PaasPage;
import com.ws.entity.BorrowingRecord;
import org.springframework.data.domain.Pageable; /**
 * @author ：ws
 * @date ：Created in 2023/10/24 10:17
 * @description：TODO
 * @modified By：
 * @version: 1.0.0
 */
public interface BorrowingRecordService {
    PaasPage<BorrowingRecord> getBorrowingRecordPage(Pageable pageable, Long readerId,String statusCd);

    BorrowingRecord saveBorrowingRecord(BorrowingRecord borrowingRecord);

    BorrowingRecord getBorrowingRecordBasicInfo(Long borrowingRecordId);

    void delBorrowingRecord(Long borrowingRecordId);

    BorrowingRecord updateBorrowingRecord(Long borrowingRecordId, BorrowingRecord borrowingRecord);
}
